package com.github.phoenics.newlives.common.base;

/**
 * @author Phoenics Chow
 * on 2019年09月24日
 */
public class BaseErrorKeyConstants {

    public final String BAD_REQUEST="bad.request";
    public final String PARAM_NULL="param.null";
    public final String PARAM_INVALID="param.invalid";
    public final String PARAM_REQUIRED="param.required";
    public final String USER_ID_INVALID="user.id.invalid";
    public final String API_NOT_FOUND="api.not.found";
    public final String TYPE_MISMATCH="type.mismatch";
    public final String OAUTH_UNAUTHORIZED="oauth.unauthorized";
    public final String OAUTH_LOGIN="oauth.login";
    public final String OAUTH_INVALID="oauth.invalid";
    public final String USERCENTER_UNREACHABLE="usercenter.unreachable";
    public final String RESOURCE_VERSION_INVALID="resource.version.invalid";
    public final String RESOURCE_VERSION_INCORRECT="resource.version.incorrect";
    public final String RESOURCE_FORBIDDEN="resource.forbidden";
    public final String MEDIA_TYPE_UNSUPPORTED="media.type.unsupported";
    public final String MEDIA_TYPE_NOTACCEPTABLE="media.type.notacceptable";
    public final String RESOURCE_NOT_FOUND="resource.not.found";
    public final String DATABASE_ERROR="database.error";
    public final String REDIS_ERROR="redis.error";
    public final String UNKNOWN_ERROR="unknown.error";
    public final String FIELD_ERROR="field.error";
    public final String CONFIG_NOT_EXIST="config.not.exist";
    public final String CONFIG_NOT_INTEGER="config.not.integer";
    public final String CONFIG_NOT_FLOAT="config.not.float";
    public final String SIGN_CHECK_ERROR="sign.check.error";
    public final String REQUEST_REPEAT="request.repeat";
    public final String DECRYPT_ERROR="decrypt.error";
    public final String KAPTCHA_ERROR="kaptcha.error";
    public final String TOKEN_INVALID="token.invalid";
    public final String CLIENT_TIME_NOT_CURRENT="client.time.not.current";
    public final String BAD_API_ERROR="bad.api.error";

}
